home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / bbs_game / lunat41a.zip / MAKE-IGS.TXT < prev    next >
Text File  |  1995-09-21  |  5KB  |  128 lines

  1. %CLS
  2. `6-------------------------------------------------------------------------
  3. `7 Welcome to the wonderful world of the IGS Script.  I `%Strongly `7suggest
  4. `7 you turn on your `%Screen Capture `7mode or your `%Log File `7mode now.
  5. `6-------------------------------------------------------------------------
  6.  
  7.                     `$How to create your OWN IGS SCRIPT!
  8.  
  9.                    `4       Impress your friends
  10.                    `4     Make your enemies jealous
  11.                    `4 Add your own creation to Lunatix!
  12.  
  13.                    `@I'm about to tell you how to do it!
  14.  
  15.  
  16. %KEY
  17.  
  18. `3An IGS Script is a story, which you can write, that can be added to the
  19. `3Library in Lunatix (and probably to other Doors when I write them) -- and
  20. `3if anyone wants to keep my "logic" it could also work in other games as
  21. `3well.  An IGS can be a simple story, or it can involve the player by
  22. `3giving him choices about how to progress.  The script can also have the
  23. `3Lunatix Color-Codes to make it look nice and neat -- in fact, you are
  24. `3reading an IGS Script right now.
  25.  
  26. `3There are a handful of IGS commands you'll need to know.  IGS Commands and
  27. `3Section Labels begin with a percent (%) sign.  If it isn't a built-in
  28. `3command, then it will be interpreted as a label.
  29.  
  30. %KEY
  31.  
  32. `!IGS Command set (these should begin at the far left of the line)
  33.  
  34. `# %CLS `5- Clears the screen
  35. `# %KEY `5- Asks the user to press a key, and then clears the screen
  36. `# %ESC `5- Exits back to the command parser
  37. `# %COM `5- Command set specifier.  It is followed by a number count
  38. `#      `5  This is used to read in more lines, which are the labels for
  39. `#      `5  those options.
  40.  
  41. `3Any other "%" command is treated as a label.
  42.  
  43. %KEY
  44. %CLS
  45.  
  46. `3The first section of your IGS should be the title page, the cover, or
  47. `3just whatever the player sees when they "open" the book.  It, and any
  48. `3other "page" can have a %COM block that declares the commands.  Here is
  49. `3an example of the first page of some IGS Script.  I am not using color
  50. `3codes in this example so you can easily see what the script looks like.
  51.  
  52. %KEY
  53.  
  54. `7 
  55.  %CLS
  56.  Welcome to the Interactive Luny's Journal, by Mike Snyder
  57.  This could have looked a lot nicer, but I was in a big hurry.
  58.  
  59.  Once upon a time there was this guy.  Now you get to choose:
  60.  
  61.      ■1) The guy's name is Fred
  62.      ■2) The guy's name is Abdul
  63.      ■3) The guy has no name
  64.  
  65.  %COM 3  ;Tells that there are 3 commands, and those are listed next
  66.  Name-Is-Fred
  67.  Name-Is-Abdul
  68.  No-Name
  69.  %ESC
  70.  
  71. %KEY
  72. %CLS
  73. `3 Each one of those 3 commands should then have a label with the same name
  74. `3 that begins with the "%" sign.  These can also lead to more choices, or
  75. `3 just use an %ESC without the %COM block to let it be an "end" choice. Note
  76. `3 that %ESC is also needed regardless of commands or ending.  Example:
  77. `7
  78.  %Name-Is-Fred
  79.  %CLS
  80.  The Guy's name is Fred, and one day he died.
  81.  
  82.         The End!
  83.  
  84.  %ESC
  85.  
  86. %KEY
  87. %CLS
  88. `3Lunatix 3.1a (the first to have IGS Support) has a file named "BOOKS.DAT"
  89. `3Which, like IGM.DAT for IGM's, contains specs about the IGS's that are
  90. `3installed for Lunatix's Library.  If you write an IGS and wish to
  91. `3distribute it, it would be nice to have an install program that installs
  92. `3the IGS to the IGS.DAT.  However, a little later I will tell of another
  93. `3alternative (a freeware IGS-Installer).  However, an install program is
  94. `3not mandatory, as long as you give instructions about how to install
  95. `3your IGS by editing the BOOKS.DAT in Lunatix.
  96. `3The format of the BOOKS.DAT file is the book name on one line, and then
  97. `3the file name on the next line.  For simplicity, the IGS's should just
  98. `3be copied directly into the Master Lunatix directory.  Here is an example
  99. `3of 2 IGS Scripts that might be in the BOOKS.DAT File:
  100.  
  101. `7         Snyder's Teriffic Novel
  102. `7         NOVEL1.TXT
  103. `7         Another Book Goes Here
  104. `7         ANOTHER.TXT
  105.  
  106. `3Kind of simple, huh?
  107.  
  108. %KEY
  109. %CLS
  110.  
  111. `3I am working on a FreeWare utility called "IGS Kit" that will have sample
  112. `3IGS's for you to view.  It also has an IGS-VIEW utility so that as you
  113. `3develop your IGS, you can easily "test" it.  It will also have a generic
  114. `3Install program that you can distribute with your IGS (in case you aren't
  115. `3a programmer, you could still provide an install program for it).  However,
  116. `3with a little practice, you could easily write an IGS without the Kit.
  117. `3Look for IGS-K10A.ZIP (the 10A will change if I create new versions).
  118.  
  119. `!My hope is that the IGS Script concept will catch on.  Since *anybody* can
  120. `!create an IGS without being a programmer, I'm hoping I'll begin to see
  121. `!lots of IGS's.  Lunatix only reads 26 at a time, but if it catches on, I'm
  122. `!sure there will be IGS Managers and lots more.  Good luck, and if you need
  123. `!any additional help, or would like info about the "Lunatix Story" so that
  124. `!your book could tell a little about that, just let me know.  Our BBS
  125. `!Number is at the second title screen when you start the game. :)
  126.  
  127. %ESC
  128.